import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/fonts/v3/iconfont.css'
import './assets/fonts/iconfont.css'
import './assets/fontsize/iconfont.css'
// import './style/common.less'
// import './style/fontSize.less'
// import './style/color.less'
import './style/index.less'
import './router/permissions'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import screenShort from "vue-web-screen-shot"
import btnPerms from './utlis/Instructions'
// import VueClipBoard from 'vue-clipboard2'

const app = createApp(App)
btnPerms(app)
app.use(store)
app.use(router)
// app.use(VueClipBoard)
app.use(ElementPlus, {
    locale: zhCn,
})
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(screenShort, { enableWebRtc: false })
app.mount('#app')

